package com.honey.solr.entity.method;

import com.honey.compilation.java.Method;
import com.honey.solr.SolrFactory;

public class DefaultConstructorMethod {
	
	private SolrFactory solrFactory = null; 
	
	public DefaultConstructorMethod( SolrFactory solrFactory ){
		this.solrFactory =  solrFactory;
	}
	
	public Method createMethod(){
		Method answer = new Method(solrFactory.getEntityType().getShortName(),true);
		
		return answer;
	}
}
